package Thirteen;

/**
 * User:langchen
 * Date:2022-08-07
 * Time:15:40
 */

public class Heir {
    public static void main(String[] args) {
        Dog dog = new Dog();
        Cat cat = new Cat();
        dog.name = "大黄";
        dog.age = 18;
        System.out.println(dog.name);
        System.out.println(dog.age);

    }
}
